{extend name="web/public/base" /}
{block name="header"}
{/block}
{block name="main"}
<section class="scrollable padder">
    <ul class="breadcrumb no-border no-radius b-b b-light pull-in">
        <li><a><i class="fa fa-home"></i> 首页</a></li>
        <li class="active">会员中心</li>
        <li class="active">{$title}</li>
    </ul>
    <div class="row">
        <div class="col-sm-12">
            <section class="panel panel-default">
                <header class="panel-heading"> {$title}</header>
                <!--<div style="margin-left:15px;margin-top:10px;">-->
                    <!--<a class="btn btn-info" href="{:url('TradingHall/handleMoney',array('type'=>'inc'))}">充币</a>-->
                    <!--<a class="btn btn-primary" href="{:url('TradingHall/handleMoney')}">扣币</a>-->
                <!--</div>-->
                {include file="web/public/search" /}
                {notempty name="_list"}
                <div class="table-responsive">
                    <table class="table table-striped table-hover b-t b-light text-sm">
                        <thead>
                        <tr>
                            <th>日期</th>
                            <th>总收入</th>
                            <th>总支出</th>
                            <th>总{$Think.const.BONUS1}</th>
                            <th>总{$Think.const.BONUS2}</th>
                            <th>总{$Think.const.BONUS3}</th>
                            <th>总{$Think.const.BONUS4}</th>
                            <th>总{$Think.const.BONUS5}</th>
                            <th>总{$Think.const.BONUS6}</th>
                            <th>总{$Think.const.BONUS7}</th>
                            <th>总{$Think.const.BONUS8}</th>
                            <th>总沉淀</th>
                            <th>拨出比</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>{$total.createtime}</td>
                            <td>{$total.income|format_num}</td>
                            <td>{$total.expend|format_num}</td>
                            <td>{$total.bonus1|format_num}</td>
                            <td>{$total.bonus2|format_num}</td>
                            <td>{$total.bonus3|format_num}</td>
                            <td>{$total.bonus4|format_num}</td>
                            <td>{$total.bonus5|format_num}</td>
                            <td>{$total.bonus6|format_num}</td>
                            <td>{$total.bonus7|format_num}</td>
                            <td>{$total.bonus8|format_num}</td>
                            <td>{$total.surplus|format_num}</td>
                            <td>{$total.outrate|format_num}&nbsp;%</td>
                        </tr>
                        {volist name='_list' id='vo'}
                        <tr>
                            <td>{$vo.createtime}</td>
                            <td>{$vo.income|format_num}</td>
                            <td>{$vo.expend|format_num}</td>
                            <td>{$vo.bonus1|format_num}</td>
                            <td>{$vo.bonus2|format_num}</td>
                            <td>{$vo.bonus3|format_num}</td>
                            <td>{$vo.bonus4|format_num}</td>
                            <td>{$vo.bonus5|format_num}</td>
                            <td>{$vo.bonus6|format_num}</td>
                            <td>{$vo.bonus7|format_num}</td>
                            <td>{$vo.bonus8|format_num}</td>
                            <td>{$vo.surplus|format_num}</td>
                            <td>{$vo.outrate|format_num}&nbsp;%</td>
                        </tr>
                        {/volist}
                        </tbody>
                    </table>
                </div>
                <footer class="panel-footer">
                    <div class="row">
                        <div class="text-right text-center-xs">
                            {$page}
                        </div>
                    </div>
                </footer>
                {else/}
                <div style="text-align: center">
                    <image src="__PUBLIC__/images/empty.jpg"></image>
                </div>

                {/notempty}
            </section>
        </div>
    </div>
</section>
{/block}
{block name="script"}
{/block}
{block name="footer"}
{/block}

